Skip to content

backport: Modernise the backport workflow#121

Merged
otavio merged 1 commit into
masterfrom
modernise-backport-workflow
Jun 14, 2026
Merged

backport: Modernise the backport workflow#121
otavio merged 1 commit into
masterfrom
modernise-backport-workflow

Conversation

@otavio

@otavio otavio commented Jun 14, 2026

Copy link
Copy Markdown
Member

The workflow used the deprecated zeebe-io/backport-action@v0.0.4 and relied on the default GITHUB_TOKEN, which is read-only by default, so it could not actually create the backport branches and pull requests.

Switch to the maintained korthout/backport-action@v4, grant the required contents and pull-requests write permissions, and bump actions/checkout to v4. Trigger on both closed and labeled so a backport <branch> label backports automatically on merge whether it was added before or after merging, with no manual /backport comment.

The workflow used the deprecated zeebe-io/backport-action@v0.0.4 and
relied on the default GITHUB_TOKEN, which is read-only by default, so it
could not actually create the backport branches and pull requests.

Switch to the maintained korthout/backport-action@v4, grant the
required contents and pull-requests write permissions, and bump
actions/checkout to v4. Trigger on both 'closed' and 'labeled' so a
'backport <branch>' label backports automatically on merge whether it
was added before or after merging, with no manual /backport comment.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
@otavio otavio merged commit 9433ee6 into master Jun 14, 2026
1 check failed
@otavio otavio deleted the modernise-backport-workflow branch June 14, 2026 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant